<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>小白栈记</title>
  <link rel="stylesheet" href="css/bootstrap.min.css">
  <link rel="stylesheet" href="css/jquery.toast.css">
  <link rel="stylesheet" href="css/index.css">
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript" src="js/url-polyfill.min.js"></script>
  <script type="text/javascript" src="js/websocket.min.js"></script>
  <script type="text/javascript" src="js/jquery.toast.min.js"></script>
  <script type="text/javascript" src="js/index.js"></script>
</head>
<body>
  <div class="content">
    <div class="caption">小白栈记 - 五子棋</div>
    <div class="initializer hidden">
      <form>
        <div>
          <label>请选择棋盘规格：</label>
          <select class="form-select mt-2" name="setup">
            <option value="5:5">5×5</option>
            <option value="6:6">6×6</option>
            <option value="7:7">7×7</option>
            <option value="8:8">8×8</option>
            <option value="9:9">9×9</option>
            <option value="10:10" selected>10×10</option>
            <option value="11:11">11×11</option>
            <option value="12:12">12×12</option>
            <option value="13:13">13×13</option>
            <option value="14:14">14×14</option>
            <option value="15:15">15×15</option>
          </select>
        </div>
        <div>
          我选择：
          <input name="role" id="white" type="radio" value="WHITE" checked/>
          <label for="white">白子</label>
          <input name="role" id="black" type="radio" value="BLACK"/>
          <label for="black">黑子</label>
        </div>
        <div>
          谁先下：
          <input name="priority" id="me" type="radio" value="true" checked/>
          <label for="me">我先下</label>
          <input name="priority" id="opponent" type="radio" value="false"/>
          <label for="opponent">对方先下</label>
        </div>
      </form>
      <div class="create-result">
        <div class="text-success fs-5 fw-bold">创建成功!</div>
        <div class="text-secondary fs-6 fw-bold mb-3">请将此链接分享给你的好友，然后就可以开始游戏啦~</div>
        <div class="result-link link-primary text-decoration-underline user-select-all"></div>
      </div>
      <div class="buttons">
        <button type="button" class="btn btn-success" name="create">创建棋盘</button>
        <button type="button" class="btn btn-primary" name="start" disabled>开始游戏~</button>
      </div>
    </div>
    <div class="core-area hidden">
      <div class="chessboard">
<!--        <div class="chess-row">-->
<!--          <div class="chess-piece">1</div>-->
<!--          <div class="chess-piece">2</div>-->
<!--          <div class="chess-piece">3</div>-->
<!--          <div class="chess-piece">3</div>-->
<!--          <div class="chess-piece">3</div>-->
<!--          <div class="chess-piece">3</div>-->
<!--          <div class="chess-piece">3</div>-->
<!--        </div>-->
      </div>
      <div class="controller">
        <button type="button" class="btn btn-danger mt-3 flex-column" name="exit">退出游戏</button>
      </div>
    </div>
  </div>
</body>
</html>